package com.shoes.dao;

import com.shoes.model.GoodsDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author asen
 */
@Repository
public interface GoodsDAO {
    GoodsDO queryGoodsInfoByGoodsId(@Param("goodId")long goodsId);
    List<GoodsDO> queryGoodsListByStoreId(@Param("storeId")long storeId, @Param("isClose")int isClose);
    int insertGoods(GoodsDO goods);
}
